package AbstractFactoryModel;

public class Client {
    public static void main(String[] args) {
        AbFactory eFactory;
        Television television;
        AirConditioner airConditioner;
        eFactory=(AbFactory) XMLUtil.GetBean();
        television=eFactory.produceTelevision();
        airConditioner=eFactory.produceAirConditioner();
        television.play();
        airConditioner.changeTempertature();
    }
}
